package com.shanghaionstar.report.bean;

public class UserDTO {

    private String accountID;
    private String subscriberID;
    private String userID;
    private String email;
    /**
     * 手机号码
     */
    private String mobile;
    /**
     * global guid for info3
     */
    private String guid;

    /**
     * 当前用户角色
     */
    private String role;
    private String vin;

    public UserDTO() {
    }

    public UserDTO(String accountID, String subscriberID, String userID, String email, String mobile, String guid, String role, String vin) {
        this.accountID = accountID;
        this.subscriberID = subscriberID;
        this.userID = userID;
        this.email = email;
        this.mobile = mobile;
        this.guid = guid;
        this.role = role;
        this.vin = vin;
    }

    public static class UserBuilder {
        private String accountID;
        private String subscriberID;
        private String userID;
        private String email;
        /**
         * 手机号码
         */
        private String mobile;
        /**
         * global guid for info3
         */
        private String guid;
        /**
         * 当前用户角色
         */
        private String role;
        private String vin;

        public UserBuilder accountID(String accountID) {
            this.accountID = accountID;
            return this;
        }

        public UserBuilder subscriberID(String subscriberID) {
            this.subscriberID = subscriberID;
            return this;
        }

        public UserBuilder userID(String userID) {
            this.userID = userID;
            return this;
        }

        public UserBuilder email(String email) {
            this.email = email;
            return this;
        }

        public UserBuilder mobile(String mobile) {
            this.mobile = mobile;
            return this;
        }

        public UserBuilder guid(String guid) {
            this.guid = guid;
            return this;
        }

        public UserBuilder role(String role) {
            this.role = role;
            return this;
        }

        public UserBuilder vin(String vin) {
            this.vin = vin;
            return this;
        }

        public UserDTO createUserDTO() {
            return new UserDTO(accountID, subscriberID, userID, email, mobile, guid, role, vin);
        }
    }

    public String getAccountID() {
        return accountID;
    }


    public String getSubscriberID() {
        return subscriberID;
    }


    public String getUserID() {
        return userID;
    }


    public String getEmail() {
        return email;
    }


    public String getMobile() {
        return mobile;
    }


    public String getGuid() {
        return guid;
    }


    public String getRole() {
        return role;
    }


    public String getVin() {
        return vin;
    }


    public void setAccountID(String accountID) {
        this.accountID = accountID;
    }

    public void setSubscriberID(String subscriberID) {
        this.subscriberID = subscriberID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }
}
